package com.feidee.data.report.dao;

import com.feidee.data.report.model.CustomReportModel;
import com.feidee.data.report.model.ReportConfiguration;

import java.util.List;
import java.util.Map;

public interface ICRCommonOprDao {

	public int modifyMysqlColNote(CustomReportModel crm, String pubStatus );
	public int modifyReportPeriod( CustomReportModel crm, String pubStatus );
	public int modifyMysqlTblNote( CustomReportModel crm, String pubStatus );
	public int modifyHistorySqlNote( CustomReportModel crm, String pubStatus );
	public Map<String, ReportConfiguration> createMysqlStr(CustomReportModel crm, String pubStatus);
	public int writeMysqlStrToDB(CustomReportModel crm, String pubStatus );
	public int modifyReportDependency( CustomReportModel crm, String pubStatus );
	int modifyReportPriority(CustomReportModel crm, String pubStatus);
	int modifyDataResources(CustomReportModel crm, String pubStatus);

	/**
	 * 更新报表配置
	 *
	 * @param sqlList
	 * @return
	 */
    Map<String,String> updateReportConfig(List<String> sqlList);
}
